package com.wmh.baseservice.skd.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 
 * @TableName skd_leader_info
 */
@Data
@Accessors(chain = true)
@TableName(value ="skd_leader_info")
public class SkdLeaderInfo implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "us_id")
    private Long usId;

    /**
     * 代理商家id
     */
    @TableField(value = "merchant_id")
    private Long merchantId;

    /**
     * 团购活动id
     */
    @TableField(value = "group_buying_activity_id")
    private Long groupBuyingActivityId;

    /**
     * 跟团号
     */
    @TableField(value = "group_no")
    private Long groupNo;

    /**
     * 跟团人数
     */
    @TableField(value = "follow_group_num")
    private Integer followGroupNum;

    /**
     * 浏览人数
     */
    @TableField(value = "browse_num")
    private Integer browseNum;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;

    @TableField(value = "deleted")
    @TableLogic
    private Integer deleted;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}